//
//  WXMPPTool.h
//  WeChat
//
//  Created by Yanting on 16/7/14.
//  Copyright © 2016年 Yanting. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Singleton.h"

typedef enum {
    XMPPResultTypeLoginSuccess,
    XMPPResultTypeLoginFailure
}XMPPResultType;
typedef void (^XMPPResultBlock)(XMPPResultType);

@interface WXMPPTool : NSObject
singleton_interface(WXMPPTool)

-(void)xmppLogin:(XMPPResultBlock)resultBlock;

-(void)xmpplogout;

@end
